package com.diu.infrastructure.persistent.dao;

import com.diu.infrastructure.persistent.po.StrategyRule;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author #diu
 * @description #
 * @create #2025/10/10 16:34
 */

@Mapper
public interface IStrategyRuleDao {

    List<StrategyRule> queryStrategyRuleList();

    StrategyRule queryStrategyRuleByStrategyIdAndRuleModel(Long strategyId, String ruleModel);

    StrategyRule queryStrategyRuleByStrategyId(Long strategyId);

    StrategyRule queryStrategyRuleByStrategyIdAndAwardIdAndRuleModel(Long strategyId, Integer awardId, String ruleModel);
}
